/**
 * 
 */
package auction;

import java.util.TimerTask;

/**
 * @author Gernot
 *
 */
public class GroupBidTimeout extends TimerTask {

    private Bid bid;
    private AccountManager am;
   
    public GroupBidTimeout(Bid bid, AccountManager am) {
        super();
        this.bid = bid;
        this.am = am;
    }


    /* (non-Javadoc)
     * @see java.util.TimerTask#run()
     */
    @Override
    public void run() {
       am.timeoutGroupbid(bid);
    }

}
